<?php
session_start();
session_destroy();
$reenviar = "Location: entrada.php?motivo=" . $_GET['motivo'];
header($reenviar);
?>